package org.jeecg.modules.maps.model.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel(value = "贴图信息", description = "贴图信息")
public class GeoMapsVo {


    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 工程id
     */
    @ApiModelProperty(value = "工程id")
    private Long projectInfoId;


    /**
     * apiId
     */
    @ApiModelProperty(value = "apiId")
    private Integer apiId;


    /**
     * 项目名称
     */
    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "模型GUID")
    private String modelGuid;


    /**
     * 是否启用
     */
    @Excel(name = "是否启用", width = 15)
    @ApiModelProperty(value = "启用状态(1启用，0禁用) 字典编码(ENABLE_FLAG)")
    @Dict(dicCode = "ENABLE_FLAG")
    private Integer enableFlag;


    @ApiModelProperty(value = "删除标志(1-存在，0-删除)")
    private Integer delFlag;


    /**
     * 创建人
     */
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private String createUser;

    /**
     * 更新人
     */
    @Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
    private String updateUser;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
